package com.pojo;

/**
 * @author mornd
 * @date 2020/11/27 - 14:23
 */

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 前台用户实体类
 */
@Data
public class Account {
    private Integer id;
    private String loginName;
    private String password;
    private String realName;
    private String idCard;
    private String phone;
    private String email;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registTime;
    //角色列表
    private List<AccountRole> roleList;
}
